<link rel="stylesheet" type="text/css" href="../css/upload/uploadifive.css">
<div class="easyui-layout" data-options="fit:true,border:false">
	<div class="easyui-panel edit-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
		<div data-options="region:'center',border:false" title="" style="overflow: hidden;padding: 10px;">
			<div style="height:auto;widtd:auto">
					<div style="margin-bottom:5px" class="edit-btn">
					
					</div>  		
		    </div>
		    
			<form class="doc-form" metdod="post">
				<fieldset>				
					<input name="id" id="id"  type="hidden"/>
					<input name="created" id="created"  type="hidden"/>
					<input name="creater" id="creater"  type="hidden"/>
					<input name="state" id="state"  type="hidden"/>
					<input name="typeId" id="typeId"  type="hidden"/>
					<input name="lobid" id="lobid"  type="hidden"/>
					 <table>
						 <tr>
						 	<td>文档编号</td>
							<td><input name="bizno" id="bizno" style="width: 200px;" class="easyui-textbox easyui-validatebox"  type="text"/></td>
						 	<td>文档名称</td>
							<td><input name="name" id="name" type="text" style="width: 200px;" class="easyui-textbox easyui-validatebox" required="required"/></td>
						    
						 </tr>
						 
						 <tr>					    
							<td>公开状态</td>
							<td>
								<select id="state_id" name="state_id" type="text" style="width: 310px;" class="easyui-combobox easyui-validatebox"  required="required" >
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
							</td>
						
							<td>排序编号</td>
							<td><input name="sortedid" id="sortedid" type="text" style="width: 200px;" class="easyui-textbox easyui-validatebox" /></td>
						 </tr>
						 
						 <tr>
							<td>文档内容</td>
							<td colspan="3"><input class="easyui-textbox" id="contents" name="contents"  data-options="multiline:true" style="width: 600px;height:100px;"/></td>
						</tr>
						<tr>
							<td>文档内容</td>
							<td colspan="3"><div id="lob_contents" name="lob_contents"   style="width: 600px;"/></td>
						</tr>			 
						
					 </table>
				</fieldset>
			</form>
		</div>
		
	</div>
	<div class="easyui-panel upload-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<div class="archive-btn">
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn" iconcls="icon-add" plain="true">上传</a>
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn" iconcls="icon-remove" plain="true">删除</a>
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn" iconcls="icon-undo" plain="true">返回</a>
	    </div>
		<div class="table-archive"/>
		<form class="upload-form">
			<div id="queue"></div>
			<input id="file_upload" name="file_upload" type="file" multiple="true">
			
		</form>
	</div>
</div>
<script>

requirejs(['docdetailEdit','party','domReady!'],function(dept,party,doc){
	dept.init({
		doc:doc,			
		upload_queue_id:'party_queue',
		upload_file_id:'party_file_upload',
		initElement:party.initElement,
		beforeSubmit:party.beforeSubmit});	
});

</script>